<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>后台管理系统</title>
<link href="../Public/admin/css/golbal.css" rel="stylesheet" type="text/css" />
<link href="../Public/admin/css/addmember.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="tittle">
<span>编辑会员</span>
<a href="{:U('Admin/member')}">返 回</a>
</div>

<div class="addm">
<form action="{:U('Admin/edituser',array('uid'=>$uid))}" method="post">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan="3" style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<tr>
<td height="40">用户名：</td>
<td colspan="2"><input name="username" value="{$info['username']}" type="text" /></td>
</tr>
<tr>
<td  height="40">密码：</td>
<td colspan="2"><input name="password" type="password"/></td>
</tr>
<tr>
<td  height="40">确认密码：</td>
<td colspan="2"><input name="repassword" type="password"/></td>
</tr>
<tr>
<td  height="40" width="150">昵称：</td>
<td colspan="2"><input id="nickname" class="txt" type="text" maxlength="6" value="{$info['nickname']}" name="nickname" value=""/></td>
<td id="nicknameinfo" style="text-align:center" width="170"></td>
</tr>
<tr>
<td  height="40">性别：</td>
<td colspan="2" class="rad"><input class="radi" <if condition="($info['sex'] eq 1)">checked="checked"</if> type="radio" name="sex" value="1"/>男       <input class="radi" <if condition="($info['sex'] eq 2)">checked="checked"</if> name="sex" type="radio" value="2"/>女       </td>
</tr>
<tr>
<td  height="40">E-mail：</td>
<td colspan="2"><input id="email" class="txt" onkeydown="if(event.keyCode==13)event.keyCode=9" onKeyPRess="if((event.keyCode<48 || event.keyCode>57)) event.returnValue=false" value="{$info['email']}" type="text" name="email" value=""/></td>
<td id="emailinfo" style="text-align:center" width="170"></td>
</tr>
<tr>
<td height="40">积分：</td>
<td colspan="2"><input onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" name="score" value="{$info['score']}" type="text" /></td>
</tr>
<tr>
<td  height="40">手机号码：</td>
<td colspan="2"><input id="tel" class="txt" value="{$info['tel']}" type="text" name="tel" maxlength="11" onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" /></td>
</tr>
<tr>
<td height="100"></td>
<td colspan="2" class="fixbt"><input type="submit" class="fixed_bt" value="确 定"/></td>
</tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
